package com.yl.module.property.domain.dto;


import java.time.LocalDateTime;

import com.yl.common.domain.base.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 资产类型表 DTO
 * @author makejava
 * @date 2024-10-23 15:54:16
 */
@Data
@ApiModel(value = "PropertyTypeDTO", description = "资产类型表DTO")
public class PropertyTypeDTO extends PageDTO implements Serializable {
	private static final long serialVersionUID = -48730819724256557L;

    @ApiModelProperty(value = "资产类型表-主键id")
    private Integer id;

	@ApiModelProperty(value = "三方资产类型唯一标识 例如华为的设备类型唯一标识")
    private String tripartitePropertyTypeId;

	@ApiModelProperty(value = "父类id 如果是根节点 父类id就是0")
    private Integer parentId;

	@ApiModelProperty(value = "名称")
    private String name;

	@ApiModelProperty(value = "备注")
    private String remark;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer deleteFlag;

}

